@import "src/common";

.page {
  min-height: 100vh;
  background: #F7F8F9;
  .page-content{
    padding-top: 22px;
    padding-bottom: 140px;
    .part-1{
      margin: 0 22px 20px;
      padding: 24px;
      position: relative;
      background: white;
      overflow: hidden;
      border-radius: 20px;
      .time{
        width: 90px;
        height: 36px;
        position: absolute;
        right:0;
        top:0;
        border-radius: 8px;
        background: #FFEBE0;
        font-size: 24px;
        font-weight: bold;
        color: var(--sub-theme);
      }
      .row-1{
        height: 240px;
        margin-bottom: 24px;
        .col-1{
          width: 172px;
          height: 100%;
          border-radius: 12px;
          margin-right: 24px;
        }
        .col-2{
          flex: 1;
          height: 100%;
          display: flex;
          flex-direction: column;
          align-items: flex-start;
          justify-content: space-between;
          .r-1{
            font-size: 32px;
            font-weight: bold;
            line-height: 32px;
            padding-bottom: 20px;
            color: #1D2129;
          }
          .r-2{
            font-size: 28px;
            font-weight: 400;
            line-height: 28px;
            color: #34373E;
          }
          .r-3,.r-4,.r-5{
            font-size: 24px;
            font-weight: 400;
            line-height: 24px;
            padding-bottom: 20px;
          }
          .r-5{
            padding-bottom: 8px;
          }
        }
      }
      .row-2{
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 24px;
        line-height: 24px;
        font-weight: 400;
        color: #777A7F;
        .col-1{
          .item{
            margin-right: 48px;
            .i-1{
              width: 28px;
              height: 28px;
            }
            .i-2{
              padding-left: 4px;
            }
          }
        }
        .col-2{
          .i-2{
            width: 28px;
            height: 28px;
          }
        }
      }
    }
    .part-2{
      margin: 0 22px 20px;
      padding: 0 16px;
      height: 72px;
      border-radius: 20px;
      background: linear-gradient(90deg, #FFF0D9 0%, #FFFFFF 39.8%);
      justify-content: space-between;
      .col-1{
        width: 120px;
        height: 32px;
      }
      .col-2{
        padding-left: 6px;
        font-size: 24px;
        font-weight: 400;
        line-height: 24px;
        color: #616469;
      }
      .col-3{
        width: 24px;
        height: 24px;
      }
    }
    .part-3{
      margin: 0 22px 20px;
      padding: 32px 24px 0;
      position: relative;
      background: white;
      overflow: hidden;
      border-radius: 20px;
      .row-1{
        font-size: 32px;
        font-weight: bold;
        line-height: 30px;
        padding-bottom: 28px;
      }
      .item{
        height: 88px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        .c-1{
          font-size: 28px;
          font-weight: 400;
          line-height: 28px;
        }
        .c-2{
          display: flex;
          align-items: center;
          justify-content: flex-start;
          font-size: 28px;
          .i-1{
            font-size: 28px;
            line-height: 28px;
            padding: 0 12px;
            color: var(--subT-color);
          }
          .i-2{
            width: 32px;
            height: 32px;
          }
          .i-3{
            max-width: 280px;
            padding: 8px;
            border-radius: 8px;
            font-size: 24px;
            font-weight: 400;
            line-height: 24px;
            color: #fff;
            background: var(--theme-color);
          }
        }
      }
      .item-p{
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-left: 64px;
        line-height: 56px;
        border-top: 2px dashed var(--border-color);
        padding-top: 16px;
        color: var(--subT-color);
        font-size: 28px;
      }
    }
    .part-4{
      margin: 0 22px 20px;
      height: 80px;
      padding: 0 24px;
      border-radius: 20px;
      background: linear-gradient(90deg, #FFF0D9 0%, #FFFFFF 39.8%);
      justify-content: space-between;
      .col-1{
        width: 120px;
        height: 32px;
      }
      .col-2{
        padding-left: 6px;
        font-size: 24px;
        font-weight: 400;
        line-height: 24px;
        color: #616469;
      }
      .col-3{
        .i-1{
          font-size: 28px;
          font-weight: 700;
          line-height: 28px;
          padding: 0 12px;
          color: var(--theme-color);
        }
        .i-2{
          width: 32px;
          height: 32px;
        }
      }
    }
    .part-5{
      margin: 0 22px 20px;
      padding: 32px 24px;
      border-radius: 20px;
      background: white;
      .row-1{
        font-size: 32px;
        font-weight: 700;
        line-height: 32px;
        margin-bottom: 8px;
      }
      .row-2{
        .item{
          padding: 28px 0;
          .goods-item{
            height: 152px;
            .c-1{
              width: 152px;
              height: 100%;
              border-radius: 12px;
              margin-right: 24px;
            }
            .c-2{
              flex: 1;
              display: flex;
              flex-direction: column;
              align-items: flex-start;
              justify-content: space-between;
              height: 100%;
              .r-1{
                font-size: 28px;
                font-weight: bold;
                line-height: 36px;
                color: #1D2129;
              }
              .r-1-1{
                font-size: 24px;
                color: var(--subT-color);
                margin-bottom: auto;
                margin-top: 8px;
              }
              .r-2{
                display: flex;
                align-items: flex-end;
                justify-content: space-between;
                width: 100%;
                .i-1{
                  color: #FF0D49;
                  font-size: 24px;
                  font-weight: bold;
                  line-height: 30px;
                  .i-1-1{
                    font-size: 32px;
                  }
                  .i-1-2{
                    padding-left: 8px;
                    color: #96989A;
                    text-decoration: line-through;
                  }
                }
              }
            }
            .item-num{
              font-size: 24px;
              color: var(--subT-color);
            }
          }
          
        }
      }
      .row-3{
        font-size: 24px;
        color: var(--subT-color);
        line-height: 1;
        padding: 8px 16px;
        display: flex;
        background: var(--page-bg);
        border-radius: 8px;
      }
    }
    .part-6{
      margin: 0 22px 54px;
      padding: 0 24px;
      height: 84px;
      border-radius: 20px;
      background: white;
      font-size: 28px;
      font-weight: 400;
      line-height: 28px;
      justify-content: space-between;
      .i-1{
        font-size: 36px;
        font-weight: 400;
        line-height: 36px;
        padding-left: 4px;
        color: var(--theme-color);
      }
    }
    .part-7{
      margin: 0 22px;
      padding: 22px;
      margin-bottom: 240px;
      background: #fff;
      .row-1{
        font-size: 28px;
        font-weight: 700;
        line-height: 28px;
        color: #000000;
        padding-bottom: 24px;
      }
      .row-2{
        font-size: 24px;
        font-weight: 400;
        line-height: 36px;
        color: var(--subT-color);
        white-space: pre-wrap;
      }
    }
  }
  .list-item{
    display: flex;
    font-size: 28px;
    color: var(--title-color);
    margin: 32px 0 0;
    padding: 8px 0;
    .item-label{
      margin-right: auto;
    }
    .i-2{
      color: var(--subT-color);
    }
    .i-3{
      font-size: 20px;
      line-height: 1;
      padding: 4px 8px;
      border-radius: 8px;
      color: #fff;
      background: var(--theme-color);
      max-width: 280px;
    }
    .c-2{
      display: flex;
      align-items: center;
    }
    .at-icon{
      margin-left: 16px;
    }
  }
  .bottom{
    position: fixed;
    background: white;
    width: 100%;
    bottom: 0;
    left: 0;
    align-items: center;
    justify-content: flex-end;
    padding: 24px 24px env(safe-area-inset-bottom);
    box-sizing: border-box;
    .col-1{
      margin-right: 20px;
      .r-1{
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
        padding-bottom: 12px;
        .i-1{
          font-size: 28px;
          font-weight: 400;
          line-height: 28px;
          color: #4B5563;
        }
        .i-2{
          font-size: 28px;
          font-weight: 400;
          line-height: 28px;
          color: var(--theme-color);
        }
        .i-3{
          font-size: 40px;
          font-weight: 700;
          line-height: 36px;
          color: var(--theme-color);
        }
      }
      .r-2{
        display: flex;
        justify-content: flex-end;
        .i-1{
          font-size: 24px;
          font-weight: 400;
          line-height: 24px;
          color: var(--sub-theme);
        }
        .i-2{
          font-size: 24px;
          font-weight: 400;
          line-height: 24px;
          color: #616469;
        }
      }
    }
    .col-2{
      flex: 1;
      height: 88px;
      border-radius: 54px;
      background: var(--theme-color);
      font-size: 32px;
      font-weight: 700;
      line-height: 32px;
      color: white;
    }
  }
  .bottom-modal{
    .at-modal__container{
      border-radius: 32px 32px 0 0;
    }
  }
  .order-modal{
    font-size: 28px;
    .at-modal__container{
      width: 90vw;
      padding: 46px 32px;
      border-radius: 32px;
      box-sizing: border-box;
      background: #fff!important;
    }
    .modal-header{
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 48px;
      .header-h2{
        font-size: 32px;
        color: var(--title-color);
        font-weight: bold;
      }
    }
    .modal-main{
      .main-span{
        color: var(--title-color);
      }
      .main-h2{
        font-weight: bold;
        margin-top: 16px;
        margin-bottom: 48px;
        font-size: 32px;
      }
      .main-info{
        color: var(--theme-color);
        margin-top: 16px;
      }
    }
    .modal-footer{
      margin: 48px 0 0;
      text-align: center;
      .footer-go{
        line-height: 80px;
        border-radius: 80px;
        background: var(--theme-color);
        color: #fff;
        font-size: 28px;
        font-weight: bold;
      }
      .footer-get{
        color: var(--theme-color);
        font-size: 32px;
        font-weight: bold;
        margin-top: 48px;
      }
    }
  }
  .at-modal__container{
    top: 20%;
  }
}
